import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import $API from './api';

import 'vant/lib/index.css';
import Vant from 'vant';
import 'amfe-flexible';
import setRem from './utils/setRem'
setRem();

// 加载工具类
import './config/rem';
require('./mock');

Vue.config.productionTip = false;
Vue.prototype.$API = $API;

Vue.use(Vant);

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app');
